<%@ Page Language="C#" AutoEventWireup="true" Inherits="Syrinx.Gui.AspNet.Ajax.NitobiBasePage" MasterPageFile="~/App_ThemeMasters/NoStyle/OneColumnLayout.Master" EnableEventValidation="false" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="ScsAspNet" Namespace="Syrinx.Gui.AspNet.Ajax" TagPrefix="saj" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
<%@ Register Assembly="ScsAspNet" Namespace="Articles.Gui.AspNet" TagPrefix="art" %>

<!--#include file="~/SiteControls/RegisterStandardControls.txt"-->
<!--#include file="../SiteControls/StandardHeaderPageContent-NoCart.inc"-->
<!--#include file="../SiteControls/StandardFooterPageContent.inc"-->

<script runat="server">
	public bool PreloadFreeTextBox = false;
	public string TitleFormat = "$glgo.title$ - $glgo.summary$ - $checkout.title$";
</script>

<asp:Content ID="c1" ContentPlaceHolderID="mainContent" runat="server">
    <span class="button3"><swf:ActionButton runat="server" ID="_pBtn" Actions="checkout.MovePrev" Text="<< Previous Step" /></span>   
    <span class="button3"><swf:ActionButton runat="server" ID="_nBtn" Actions="uWiz.UpdateBizObj,orderBP.UpdateBizObj,checkout.MoveNext" Text="Next Step >>" /></span>   

    <swf:BizProc runat="server" ID="uWiz" FactoryName="createNewUserWizard">
		<ParentBizProc id="checkout" dataId="info" />
		<ParentBizProc id="orderBP" fieldName="orderContact.id" dataId="contactId" />
		<ParentBizProc id="orderBP" fieldName="id" dataId="pid" cacheValue="false" />
    </swf:BizProc>

	<div class="verticalbg" style="width:250px">
		<div class="horizontalbg">
		    <h2><asp:Label ID="_cmpInfo" runat="Server">New User Information</asp:Label></h2>
		    <saj:NitobiBizObjDisplay ID="userDisplay" runat="server" 
			    ReadOnlyTemplate="UserManagement.Gui.AspNet.SignUpUserDisplay"
			    ParentBizProcIds="uWiz"	/>
		</div>
    </div>
    
	<div class="contentwrap">
		<swf:BizProc runat="server" ID="gArt1" factoryName="genericArticles">
			<State entireTree="true" EditModeSessionKey="GlobalEdit" id="CreateSiteUser" />
			<ParentBizProc id="loginBP"  />
		</swf:BizProc>
		<art:ArticleTranslationDisplay runat="server" ID="ad1"
			ParentBizProcIds="gArt1" 
			TranslationTemplate="Articles.Gui.AspNet.ArticleTranslationRWDisplay"
			ReadOnlyTemplate="Articles.Gui.AspNet.ArticleBasicDisplay"
			EditableTemplate="Articles.Gui.AspNet.ArticleRWDisplay" >
		</art:ArticleTranslationDisplay>
    </div>
    
</asp:Content>
